
package com.market.web.action;

import com.market.bean.Orders;

public class AdminOrDelAction extends AdminOrdersAction
{
    public String execute() throws Exception
    {
        long id = getLong("id");
        Orders or = getOrdersService().findById(id);
        if (or != null)
        {
            getOrdersService().delete(or);
        }
        return SUCCESS;
        //return mapping.findForward("adminOrSearch");
    }
}
